package com.lill.org.dao;

import java.util.List;
import java.util.Map;

import com.lill.common.component.dao.IBaseDao;
import com.lill.org.model.CompanyBranchModel;

/**
 * 分公司管理Dao
 *
 * @author lill
 * @date 2019-04-24 15:25:17
 */
public interface ICompanyBranchDao extends IBaseDao<CompanyBranchModel> {
	
	Map<String, Object> queryUserFirstBranch(String id);
	
    List<CompanyBranchModel> queryLists(Map<String, Object> map);
    
    List<CompanyBranchModel> queryUserBranch(Map<String, Object> map);
    
    /**
     * 分页统计总数
     *
     * @param map 参数
     * @return 总数
     */
    int queryTotals(Map<String, Object> map);
    String queryObjects(String id);

    int businessChange(Map<String, Object> params);
}
